package io.renren.modules.forYoung.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.forYoung.entity.ForYounyEntity;
import io.renren.modules.forYoung.entity.NewsEntity;
import io.renren.modules.oss.entity.MysqlOssEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xuebing
 * @email xuebinggod@163.com
 * @date 2018-10-25 19:29:43
 */
public interface NewsDao {

    List<NewsEntity> getMyNewsList(Integer userId);

    List<NewsEntity> getListByParentId(Integer id);

    void delete(Integer id);

    void insertFile(Map<String, Object> param);

    MysqlOssEntity getByName(String name);
}
